<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            overflow: hidden;
             width: 0px;
             height: 50px;
             background-color: pink;
             white-space: nowrap;

             /* 运动曲线：steps(10)数值是几就代表分几步走完动画  有steps 就不要在写ease和linear了*/
             animation:  w 5s steps(10) forwards;

        }
        @keyframes w {
         0% {

         }
         100% {
             width: 200px;
         }
        }
    </style>
</head>
<body>
<div>我真的很想做个有技术的人</div>
</body>
</html>